#ifndef __MIC_EQ_DRC_H
#define __MIC_EQ_DRC_H

typedef void (*audio_callback_t)(u8 *ptr, u32 samples, int ch_mode, void *params);

typedef struct {
    u8 eq_en;
    u8 drc_en;
    u8 mute;
    u8 sample_rate;
    u16 samples;
    audio_callback_t callback;
} mic_eq_drc_cfg_t;


//EQ_DRC模块处理接口
void mic_eq_drc_init(u8 sample_rate, u16 samples);
void mic_eq_drc_audio_input(u8 *ptr, u32 samples, int ch_mode, void *params);
void mic_eq_drc_audio_output_callback_set(audio_callback_t callback);

//MIX_DRC模块处理接口
void mix_drc_audio_input(s16 *pcm0, s16 *pcm1, s16 *output, u16 samples);
void mix_drc_init(void);

#endif
